﻿using B.S.EventHandle.ErrorCode;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace B.S.SmartStorPro.Domain
{
    /// <summary>
    /// 库存表
    /// </summary>
    public class Inventory
    {
        /// <summary>
        /// 库存表--主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int InventoryID { get; set; }
        /// <summary>
        /// 产品ID--外键
        /// </summary>
        public int Productld {  get; set; }
        /// <summary>
        /// 仓库ID--外键
        /// </summary>
        public int Warehouseld { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int Quantity { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public InventoryStatus Status { get; set; }
        /// <summary>
        /// 是否删除(1-删除 0正常)
        /// </summary>
        public bool IsDelete { get; set; }

    }
}
